import React from "react";
import styles from './index.module.less'
import logo from '@/assets/img/logo.svg'
import bg from '@/assets/img/bg.png'

export default class Home extends React.Component {
    render() {
        return (
            <div className={styles.test}>
                <p>hello word</p>
                <input className={styles.postcssInput} type="text" name="" id="" placeholder="测试postcss" />
                <img src={logo} alt="" />
                <img className={styles.trans} src={bg} alt="" />
                <div className={styles.mixins}>测试全局less，引入global.less定义的<span>bg3</span></div>
                <div className='common'>测试全局less,commom样式必须用:global包裹,在global.less定义</div>
            </div>
        )
    }
}